// DlgSetMoudle.cpp : implementation file
//

#include "stdafx.h"
#include "autodbg.h"
#include "DlgSetMoudle.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CDlgSetMoudle dialog


CDlgSetMoudle::CDlgSetMoudle(CWnd* pParent /*=NULL*/)
: CDialog(CDlgSetMoudle::IDD, pParent)
, m_csoOep(_T(""))
, m_jmporcall(FALSE)
{
	//{{AFX_DATA_INIT(CDlgSetMoudle)
	// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}
//CDlgSetMoudle::~CDlgSetMoudle()
//{
//	//{{AFX_DATA_INIT(CDlgSetMoudle)
//	// NOTE: the ClassWizard will add member initialization here
//	//}}AFX_DATA_INIT
//}


void CDlgSetMoudle::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDlgSetMoudle)
	DDX_Text(pDX, IDC_EDIT_OEP, m_csoOep);
	DDX_Radio(pDX, IDC_RADIO1, m_jmporcall);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CDlgSetMoudle, CDialog)
	//{{AFX_MSG_MAP(CDlgSetMoudle)
	ON_BN_CLICKED(IDC_BN_EXIT, OnBnExit)
	ON_BN_CLICKED(IDC_BN_START, OnBnStart)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDlgSetMoudle message handlers

BOOL CDlgSetMoudle::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

void CDlgSetMoudle::OnBnExit() 
{
	// TODO: Add your control notification handler code here

	EndDialog(IDC_BN_EXIT);
}

void CDlgSetMoudle::OnBnStart() 
{
	// TODO: Add your control notification handler code here
	UpdateData();
	EndDialog(IDC_BN_START);

}
